FROM openjdk:8-jdk-alpine
RUN apk add --update ttf-dejavu fontconfig && rm -rf /var/cache/apk/*]
ENV TZ=Asia/Shanghai
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
COPY  backapi/target/huawang2.jar /tmp
WORKDIR /tmp
CMD java -jar huawang2.jar